import string
import random
def randomString(str_lenth=20):
    data = ""
    all_data = string.ascii_lowercase + string.digits

    for i in range(str_lenth):
        data = data + random.choice(all_data)

    print(data)

if __name__ == "__main__":
    randomString()
    randomString(10)
    randomString(5)